package com.tarena.lbs.business.dao.repository;

import com.github.pagehelper.PageInfo;
import com.tarena.lbs.business.pojo.po.BusinessPO;
import com.tarena.lbs.business.pojo.query.BusinessQuery;
import org.springframework.stereotype.Repository;

@Repository
public interface BusinessRepository {

    PageInfo<BusinessPO> pageList(BusinessQuery query);

    Long countByBusinessName(String businessName);

    void insert(BusinessPO businessPO);

    BusinessPO busiStoreDetail(Integer businessId);

    void update(BusinessPO businessPO);
}
